<h1>LISTA DE DOCTORES</h1>

<table>
  <thead>
    <tr>
      <th>Acciones</th>
      <th>Rut</th>
      <th>Apellido paterno</th>
      <th>Apellido materno</th>
      <th>Nombres</th>
      <!--<th>Direccion</th>-->
      <!--<th>Telefono</th>-->
      <!--<th>Fecha nacimiento</th>-->
      <!--<th>Created at</th>-->
      <!--<th>Cargo</th>-->
      <!--<th>Afp</th>-->
    </tr>
  </thead>
  <tbody>
    <?php foreach ($gestdent_personal_list as $gestdent_personal): ?>
    <tr>
      <!--<td><a href="<?php //echo url_for('personal/show?id='.$gestdent_personal->getId()) ?>"><?php //echo 'Ver' ?></a></td>-->
      <!--<td><a href="<?php //echo url_for('calendar/index') ?>"><?php //echo 'Ver Agenda' ?></a></td>-->

      <td>
          <form action="<?php echo url_for('calendar/index')?>" method="post">
          <input type="hidden" name="doctor_id2" value="<?php echo $gestdent_personal->getId()?>" />
          <input type="hidden" name="doctor_id2" value="<?php echo $gestdent_personal->getId()?>" />
          <input value="Ver Agenda" type="submit" />
          </form>
      </td>

      <td><?php echo $gestdent_personal->getRut() ?></td>
      <td><?php echo $gestdent_personal->getApellidoPaterno() ?></td>
      <td><?php echo $gestdent_personal->getApellidoMaterno() ?></td>
      <td><?php echo $gestdent_personal->getNombres() ?></td>
      <!--<td><?php //echo $gestdent_personal->getDireccion() ?></td>-->
      <!--<td><?php //echo $gestdent_personal->getTelefono() ?></td>-->
      <!--<td><?php //echo $gestdent_personal->getFechaNacimiento() ?></td>-->
      <!--<td><?php //echo $gestdent_personal->getCreatedAt() ?></td>-->
      <!--<td><?php //echo $gestdent_personal->getGestdentCargo() ?></td>-->
      <!--<td><?php //echo $gestdent_personal->getAfpId() ?></td>-->
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>
